﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TestModel.SysManage;

namespace TestDBData.Mapping.SysManage
{
    public partial class Sys_UserRoleMap : NopEntityTypeConfiguration<Sys_UserRole>
    {
        public override void Configure(EntityTypeBuilder<Sys_UserRole> builder)
        {
            builder.ToTable(nameof(Sys_UserRole));
            builder.HasKey(it => it.gid);
           

            // builder.Ignore(logItem => logItem.LogLevel);

            base.Configure(builder);
        }
    }
}
